/**
 * Description: RegisterLargeItem.java
 * Copyright (c) 2008-2009  Neo. 
 * All Rights Reserved.
 * @version 1.0  Apr 3, 2009 5:53:47 PM 李萌（neolimeng@gmail.com）created
 */
package org.paradise.dms.pojo;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * Description: Copyright (c) 2008-2009 Neo. All Rights Reserved.
 * 
 * @version 1.0 Apr 3, 2009 5:53:47 PM 李萌（neolimeng@gmail.com）created
 */
@Entity
@Table(name = "registerlargeitem")
public class RegisterLargeItem {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Integer registerlargeitemid;// ID
	private String studentno;// 登记者学号
	private String username;// 登记者学号，如果没有学好可以登记姓名或身份证号
	@ManyToOne(cascade = { CascadeType.PERSIST, CascadeType.MERGE })
	@JoinColumn(name = "registerlargeitemtypeid")
	private RegisterLargeItemType registerlargeitemtype;
	// private int registerlargeitemtypeid;//大物品类型
	private Date registerlargeitemouttime;// 出楼时间
	private Date registerlargeitemintime;// 进楼时间
	private String remarks;// 备注
	private Integer registerlargeitemind;// 标记删除位
	private int inorout;// 进还是出
	private String recordby;//记录人

	public int getInorout() {
		return inorout;
	}

	public void setInorout(int inorout) {
		this.inorout = inorout;
	}

	/**
	 * @return the registerlargeitemind
	 */
	public Integer getRegisterlargeitemind() {
		return registerlargeitemind;
	}

	/**
	 * @param registerlargeitemind
	 *            the registerlargeitemind to set
	 */
	public void setRegisterlargeitemind(Integer registerlargeitemind) {
		this.registerlargeitemind = registerlargeitemind;
	}

	/**
	 * @return the registerlargeitemid
	 */
	public Integer getRegisterlargeitemid() {
		return registerlargeitemid;
	}

	/**
	 * @param registerlargeitemid
	 *            the registerlargeitemid to set
	 */
	public void setRegisterlargeitemid(Integer registerlargeitemid) {
		this.registerlargeitemid = registerlargeitemid;
	}

	/**
	 * @return the studentno
	 */
	public String getStudentno() {
		return studentno;
	}

	/**
	 * @param studentno
	 *            the studentno to set
	 */
	public void setStudentno(String studentno) {
		this.studentno = studentno;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the registerlargeitemouttime
	 */
	public Date getRegisterlargeitemouttime() {
		return registerlargeitemouttime;
	}

	/**
	 * @param registerlargeitemouttime
	 *            the registerlargeitemouttime to set
	 */
	public void setRegisterlargeitemouttime(Date registerlargeitemouttime) {
		this.registerlargeitemouttime = registerlargeitemouttime;
	}

	/**
	 * @return the registerlargeitemintime
	 */
	public Date getRegisterlargeitemintime() {
		return registerlargeitemintime;
	}

	/**
	 * @param registerlargeitemintime
	 *            the registerlargeitemintime to set
	 */
	public void setRegisterlargeitemintime(Date registerlargeitemintime) {
		this.registerlargeitemintime = registerlargeitemintime;
	}

	/**
	 * @return the remarks
	 */
	public String getRemarks() {
		return remarks;
	}

	/**
	 * @param remarks
	 *            the remarks to set
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public RegisterLargeItemType getRegisterlargeitemtype() {
		return registerlargeitemtype;
	}

	public void setRegisterlargeitemtype(
			RegisterLargeItemType registerlargeitemtype) {
		this.registerlargeitemtype = registerlargeitemtype;
	}

	public String getRecordby() {
		return recordby;
	}

	public void setRecordby(String recordby) {
		this.recordby = recordby;
	}

}
